package com.ruoyi.biz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入住人员信息对象 personal_info
 *
 * @author ruoyi
 * @date 2024-09-10
 */
public class PersonalInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 人员主键
     */
    private Long personalId;

    /**
     * 人员姓名
     */
    @Excel(name = "人员姓名")
    private String personalName;

    /**
     * 证件信息
     */
    @Excel(name = "证件信息")
    private String personalIdCard;

    /**
     * 家庭住址
     */
    @Excel(name = "家庭住址")
    private String personalIdAddress;

    /**
     * 部门
     */
    @Excel(name = "部门")
    private String deptId;

    /**
     * 人员状态
     */
    @Excel(name = "人员状态")
    private Long personalStatus;

    /**
     * 入住宿舍
     */
    @Excel(name = "入住宿舍")
    private String dormitoryCode;

    /**
     * 是否删除1删除0未删除
     */
    @Excel(name = "是否删除1删除0未删除")
    private Long isDelete;

    public void setPersonalId(Long personalId) {
        this.personalId = personalId;
    }

    public Long getPersonalId() {
        return personalId;
    }

    public void setPersonalName(String personalName) {
        this.personalName = personalName;
    }

    public String getPersonalName() {
        return personalName;
    }

    public void setPersonalIdCard(String personalIdCard) {
        this.personalIdCard = personalIdCard;
    }

    public String getPersonalIdCard() {
        return personalIdCard;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setPersonalStatus(Long personalStatus) {
        this.personalStatus = personalStatus;
    }

    public Long getPersonalStatus() {
        return personalStatus;
    }

    public void setIsDelete(Long isDelete) {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() {
        return isDelete;
    }

    public void setDormitoryCode(String dormitoryCode) {
        this.dormitoryCode = dormitoryCode;
    }

    public String getDormitoryCode() {
        return dormitoryCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("personalId", getPersonalId())
                .append("personalName", getPersonalName())
                .append("personalIdCard", getPersonalIdCard())
                .append("personalIdAddress", getPersonalIdAddress())
                .append("deptId", getDeptId())
                .append("personalStatus", getPersonalStatus())
                .append("dormitoryCode", getDormitoryCode())
                .append("isDelete", getIsDelete())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }

    public String getPersonalIdAddress() {
        return personalIdAddress;
    }

    public void setPersonalIdAddress(String personalIdAddress) {
        this.personalIdAddress = personalIdAddress;
    }
}
